<!doctype html>
<html>
  <head>
    <title>PawHash</title>
    <link rel='stylesheet' href='common.css'>
  </head>
  <body>
    <form>
      <div>
        <div class='ib'>
          <label for='tag'>Site Tag</label>
          <input type='password' name='tag' id='tag' size='20'>
        </div>
        <button type='button' id='bump'>Bump</button>
      </div>
      <div>
        <div class='ib'>
          <label for='key'>Master Password</label>
          <input type='password' name='key' id='key' size='20'>
          <button type='button' id='fill'>Autofill</button>
        </div>
      </div>
      <div>
        <div class='ib'>
          <label for='hash'>Hashed Password</label>
          <input type='password' name='hash' id='hash' size='20'>
          <button type='button' id='showoptions'>Options</button>
        </div>
      </div>
      <div id='options' class='hide'>
        <fieldset>
          <legend>Requirements</legend>
          <label><input type='checkbox' name='digits' id='digits'> Digits</label>
          <label><input type='checkbox' name='punctuation' id='punctuation'> Punctuation</label>
          <label><input type='checkbox' name='mixedcase' id='mixedcase'> Mixed case</label>
        </fieldset>
        <fieldset>
          <legend>Restrictions</legend>
          <label><input type='checkbox' name='nospecial' id='nospecial'> No punctuation</label>
          <label><input type='checkbox' name='digitsonly' id='digitsonly'> Digits only</label>
        </fieldset>
        <fieldset>
          <legend>Password length</legend>
          <select name='length' id='length'>
            <option>4</option>
            <option>6</option>
            <option>8</option>
            <option>10</option>
            <option>12</option>
            <option>14</option>
            <option>16</option>
            <option>18</option>
            <option>20</option>
            <option>22</option>
            <option>24</option>
            <option>26</option>
          </select>
        </fieldset>
      </div>
    </form>
    <script src='publicsuffix.js'></script>
    <script src='sha1.js'></script>
    <script src='passhash.js'></script>
    <script src='common.js'></script>
    <script src='popup.js'></script>
  </body>
</html>
